package com.dgz.common.security.exception;

import com.dgz.common.core.enums.ResultCode;
import lombok.Getter;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: DongGuoZhen
 * @Date: 2024/12/10/11:53
 * @Description:
 */
@Getter
public class ServiceException extends RuntimeException {

    private ResultCode resultCode;

    public ServiceException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }

}
